package com.jml.责任链模式.企业分控系统.respon.handler.impl;

import com.jml.责任链模式.企业分控系统.respon.handler.GatewayHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;


@Slf4j
@Component
public class BlacklistHandler extends GatewayHandler {

    public BlacklistHandler(GatewayHandler nextGatewayHandler) {
        super(nextGatewayHandler);
    }

    public BlacklistHandler() {

    }

    @Override
    public void doService() {
        log.info(">>>第二关 黑名单业务逻辑判断<<<");
        nextGatewayHandler.doService();
    }
}
